package com.appkubes.fintech.admin.application.order.dao;
import com.appkubes.fintech.admin.application.order.entity.dto.RentOrderDTO;
import com.appkubes.fintech.admin.application.order.entity.dto.RentRepayOrderDTO;
import com.appkubes.fintech.admin.application.order.entity.vo.RentOrderVO;
import com.appkubes.fintech.admin.application.order.entity.vo.RentRepayOrderVO;
import com.appkubes.fintech.core.pojo.FintechRentRepayOrderMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

/*
* 还款单
* @author  xqc
* @date 	2020/01/04 23:48:56
*/
@Mapper
@Repository
public interface RentRepayOrderDao extends FintechRentRepayOrderMapper {

    @SelectProvider(type= RentOrderSqlProvider.class, method="selectBill")
    List<RentRepayOrderDTO> queryPage(RentRepayOrderVO vo);


    @SelectProvider(type= RentOrderSqlProvider.class, method="selectRepayOrder")
    List<RentRepayOrderDTO> queryRePayOrder(RentRepayOrderVO vo);
}
